package com.loto.insurance.mis.web.db.mapper;

import java.util.List;
import java.util.Map;

import com.loto.insurance.mis.web.entity.InsCompany;

public interface InsCompanyMapper {

  List<InsCompany> findActive();

  InsCompany findActiveById(long companyId);

  List<InsCompany> findAllInsCompanyPager(Map<String, Object> params);

  long findAllInsCompanyPagerCount(Map<String, Object> params);

  long insertInsCompany(InsCompany insCompany);

  int updateInsCompany(InsCompany insCompany);

  InsCompany findInsCompanyByName(String companyName);

  InsCompany findInsCompanyById(long companyId);
}
